package com.udhtu.ii.lab2;

/**
 * вычисляемая функция
 */
public class Function {
    public static final double X_FIRST = -10;
    public static final double Y_FIRST = 60;
    public static final double STEP = 1e-2;
    public static final double N = 1e5;


    public static double function(double x, double y) {
        return Math.pow(x - 2, 2) + Math.pow(y - 1, 2) + 5 * x - 10 * y + 5;
    }
}
